/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.messages;

/**
 * 发送给单人的Msg
 * @author Invince
 */
public class Msg_One extends Msg{
/*----------Attributs-------------------*/
    /**
     * 接收者的名字，注意用的是Player的name，或者是"Server"字段
     */
    protected String receiver;

/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public Msg_One(String sender, String receiver) {
        super(sender);
        this.receiver = receiver;
    }

/*----------Gets and sets---------------*/
    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

}
